package com.liangfeng.readnews.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;

import com.liangfeng.readnews.R;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by mzf on 2017/4/21.
 */

public class NewsDetailActivity extends AppCompatActivity {
    @BindView(R.id.wv_detail)
    WebView wvDetail;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_news_detail);
        ButterKnife.bind(this);
        Intent intent = getIntent();
        String url = intent.getStringExtra("url");

        wvDetail.loadUrl(url);
    }
}
